home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / contrib / other / misc / moreverb.sty < prev    next >
LaTeX Document  |  1995-03-15  |  7.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX auxiliary file, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 25 25 20 6d 6f 72 65 | 76 65 72 62 2e 73 74 79 |%%% more|verb.sty|
|00000010| 0a 25 25 25 20 41 4a 43 | 44 20 32 30 20 53 65 70 |.%%% AJC|D 20 Sep|
|00000020| 20 39 31 0a 25 25 25 20 | 61 64 64 73 20 76 61 72 | 91.%%% |adds var|
|00000030| 69 6f 75 73 20 76 65 72 | 62 61 74 69 6d 20 65 6e |ious ver|batim en|
|00000040| 76 69 72 6f 6e 6d 65 6e | 74 73 20 75 73 69 6e 67 |vironmen|ts using|
|00000050| 20 52 61 69 6e 65 72 20 | 53 63 68 5c 22 6f 70 66 | Rainer |Sch\"opf|
|00000060| 27 73 20 6e 65 77 20 76 | 65 72 62 61 74 69 6d 0a |'s new v|erbatim.|
|00000070| 25 25 25 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 2e |%%% envi|ronment.|
|00000080| 0a 0a 25 25 25 20 4d 61 | 72 67 69 6e 61 6c 20 68 |..%%% Ma|rginal h|
|00000090| 61 63 6b 73 20 28 52 46 | 29 20 74 6f 20 77 6f 72 |acks (RF|) to wor|
|000000a0| 6b 20 60 70 72 6f 70 65 | 72 6c 79 27 20 77 69 74 |k `prope|rly' wit|
|000000b0| 68 20 32 65 0a 5c 64 65 | 66 5c 66 69 6c 65 64 61 |h 2e.\de|f\fileda|
|000000c0| 74 65 7b 31 39 39 34 2f | 31 32 2f 31 33 7d 0a 5c |te{1994/|12/13}.\|
|000000d0| 64 65 66 5c 66 69 6c 65 | 76 65 72 73 69 6f 6e 7b |def\file|version{|
|000000e0| 76 32 2e 30 7d 0a 25 0a | 5c 4e 65 65 64 73 54 65 |v2.0}.%.|\NeedsTe|
|000000f0| 58 46 6f 72 6d 61 74 7b | 4c 61 54 65 58 32 65 7d |XFormat{|LaTeX2e}|
|00000100| 0a 5c 50 72 6f 76 69 64 | 65 73 50 61 63 6b 61 67 |.\Provid|esPackag|
|00000110| 65 7b 6d 6f 72 65 76 65 | 72 62 7d 0a 20 20 20 20 |e{moreve|rb}. |
|00000120| 20 5b 5c 66 69 6c 65 64 | 61 74 65 5c 73 70 61 63 | [\filed|ate\spac|
|00000130| 65 20 5c 66 69 6c 65 76 | 65 72 73 69 6f 6e 5c 73 |e \filev|ersion\s|
|00000140| 70 61 63 65 0a 20 20 20 | 20 20 20 20 20 20 20 20 |pace. | |
|00000150| 4c 61 54 65 58 32 65 20 | 70 61 63 6b 61 67 65 20 |LaTeX2e |package |
|00000160| 66 6f 72 20 60 6d 6f 72 | 65 27 20 76 65 72 62 61 |for `mor|e' verba|
|00000170| 74 69 6d 20 65 6e 68 61 | 6e 63 65 6d 65 6e 74 73 |tim enha|ncements|
|00000180| 5d 0a 5c 74 79 70 65 6f | 75 74 7b 50 61 63 6b 61 |].\typeo|ut{Packa|
|00000190| 67 65 3a 20 60 6d 6f 72 | 65 76 65 72 62 27 0a 20 |ge: `mor|everb'. |
|000001a0| 20 20 5c 66 69 6c 65 76 | 65 72 73 69 6f 6e 20 5c | \filev|ersion \|
|000001b0| 73 70 61 63 65 20 3c 5c | 66 69 6c 65 64 61 74 65 |space <\|filedate|
|000001c0| 3e 20 20 28 52 46 2c 20 | 61 66 74 65 72 20 41 4a |> (RF, |after AJ|
|000001d0| 43 44 20 61 6e 64 20 52 | 6d 53 29 7d 0a 25 5c 74 |CD and R|mS)}.%\t|
|000001e0| 79 70 65 6f 75 74 7b 45 | 6e 67 6c 69 73 68 20 44 |ypeout{E|nglish D|
|000001f0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 5c 40 73 |ocumenta|tion \@s|
|00000200| 70 61 63 65 73 20 3c 5c | 64 6f 63 64 61 74 65 3e |paces <\|docdate>|
|00000210| 7d 20 25 20 6f 68 20 6e | 6f 20 74 68 65 72 65 20 |} % oh n|o there |
|00000220| 69 73 6e 27 74 0a 0a 25 | 25 25 20 6c 6f 61 64 20 |isn't..%|%% load |
|00000230| 76 65 72 62 61 74 69 6d | 20 73 74 79 6c 65 20 69 |verbatim| style i|
|00000240| 66 20 6e 6f 74 20 61 6c | 72 65 61 64 79 20 6c 6f |f not al|ready lo|
|00000250| 61 64 65 64 2e 0a 5c 40 | 69 66 75 6e 64 65 66 69 |aded..\@|ifundefi|
|00000260| 6e 65 64 7b 76 65 72 62 | 61 74 69 6d 40 70 72 6f |ned{verb|atim@pro|
|00000270| 63 65 73 73 6c 69 6e 65 | 7d 7b 5c 52 65 71 75 69 |cessline|}{\Requi|
|00000280| 72 65 50 61 63 6b 61 67 | 65 7b 76 65 72 62 61 74 |rePackag|e{verbat|
|00000290| 69 6d 7d 7d 7b 7d 0a 0a | 25 25 25 20 76 65 72 62 |im}}{}..|%%% verb|
|000002a0| 61 74 69 6d 77 72 69 74 | 65 20 77 72 69 74 65 73 |atimwrit|e writes|
|000002b0| 20 61 6c 6c 20 74 65 78 | 74 20 69 6e 20 69 74 73 | all tex|t in its|
|000002c0| 20 62 6f 64 79 20 74 6f | 20 61 20 66 69 6c 65 2c | body to| a file,|
|000002d0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 77 68 69 | the nam|e of whi|
|000002e0| 63 68 20 69 74 0a 25 25 | 25 20 69 73 20 67 69 76 |ch it.%%|% is giv|
|000002f0| 65 6e 20 61 73 20 61 6e | 20 61 72 67 75 6d 65 6e |en as an| argumen|
|00000300| 74 2e 20 57 72 69 74 74 | 65 6e 20 62 79 20 52 6d |t. Writt|en by Rm|
|00000310| 53 2e 0a 5c 6e 65 77 77 | 72 69 74 65 20 5c 76 65 |S..\neww|rite \ve|
|00000320| 72 62 61 74 69 6d 40 6f | 75 74 0a 5c 64 65 66 5c |rbatim@o|ut.\def\|
|00000330| 76 65 72 62 61 74 69 6d | 77 72 69 74 65 23 31 7b |verbatim|write#1{|
|00000340| 25 0a 20 20 5c 40 62 73 | 70 68 61 63 6b 0a 20 20 |%. \@bs|phack. |
|00000350| 5c 69 6d 6d 65 64 69 61 | 74 65 5c 6f 70 65 6e 6f |\immedia|te\openo|
|00000360| 75 74 20 5c 76 65 72 62 | 61 74 69 6d 40 6f 75 74 |ut \verb|atim@out|
|00000370| 20 23 31 0a 20 20 5c 6c | 65 74 5c 64 6f 5c 40 6d | #1. \l|et\do\@m|
|00000380| 61 6b 65 6f 74 68 65 72 | 5c 64 6f 73 70 65 63 69 |akeother|\dospeci|
|00000390| 61 6c 73 0a 20 20 5c 63 | 61 74 63 6f 64 65 60 5c |als. \c|atcode`\|
|000003a0| 5e 5e 4d 5c 61 63 74 69 | 76 65 20 5c 63 61 74 63 |^^M\acti|ve \catc|
|000003b0| 6f 64 65 60 5c 5e 5e 49 | 3d 31 32 0a 20 20 5c 64 |ode`\^^I|=12. \d|
|000003c0| 65 66 5c 76 65 72 62 61 | 74 69 6d 40 70 72 6f 63 |ef\verba|tim@proc|
|000003d0| 65 73 73 6c 69 6e 65 7b | 25 0a 20 20 20 20 5c 69 |essline{|%. \i|
|000003e0| 6d 6d 65 64 69 61 74 65 | 5c 77 72 69 74 65 5c 76 |mmediate|\write\v|
|000003f0| 65 72 62 61 74 69 6d 40 | 6f 75 74 0a 20 20 20 20 |erbatim@|out. |
|00000400| 20 20 7b 5c 74 68 65 5c | 76 65 72 62 61 74 69 6d | {\the\|verbatim|
|00000410| 40 6c 69 6e 65 7d 7d 25 | 0a 20 20 5c 76 65 72 62 |@line}}%|. \verb|
|00000420| 61 74 69 6d 40 73 74 61 | 72 74 7d 0a 0a 5c 64 65 |atim@sta|rt}..\de|
|00000430| 66 5c 65 6e 64 76 65 72 | 62 61 74 69 6d 77 72 69 |f\endver|batimwri|
|00000440| 74 65 7b 25 0a 20 20 5c | 69 6d 6d 65 64 69 61 74 |te{%. \|immediat|
|00000450| 65 5c 63 6c 6f 73 65 6f | 75 74 5c 76 65 72 62 61 |e\closeo|ut\verba|
|00000460| 74 69 6d 40 6f 75 74 0a | 20 20 5c 40 65 73 70 68 |tim@out.| \@esph|
|00000470| 61 63 6b 7d 0a 0a 25 25 | 25 20 41 75 78 69 6c 69 |ack}..%%|% Auxili|
|00000480| 61 72 79 20 6d 61 63 72 | 6f 73 20 61 6e 64 20 63 |ary macr|os and c|
|00000490| 6f 75 6e 74 65 72 73 20 | 66 6f 72 20 65 78 70 61 |ounters |for expa|
|000004a0| 6e 64 69 6e 67 20 74 61 | 62 73 2e 20 55 73 65 20 |nding ta|bs. Use |
|000004b0| 62 79 20 6c 69 73 74 69 | 6e 67 20 61 6e 64 0a 25 |by listi|ng and.%|
|000004c0| 25 25 20 76 65 72 62 61 | 74 69 6d 74 61 62 20 65 |%% verba|timtab e|
|000004d0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 73 2e 0a 5c 6e 65 |nvironme|nts..\ne|
|000004e0| 77 63 6f 75 6e 74 5c 74 | 61 62 40 70 6f 73 69 74 |wcount\t|ab@posit|
|000004f0| 69 6f 6e 20 5c 6e 65 77 | 63 6f 75 6e 74 5c 74 61 |ion \new|count\ta|
|00000500| 62 40 73 69 7a 65 0a 5c | 6e 65 77 63 6f 75 6e 74 |b@size.\|newcount|
|00000510| 5c 76 65 72 62 61 74 69 | 6d 74 61 62 73 69 7a 65 |\verbati|mtabsize|
|00000520| 20 5c 76 65 72 62 61 74 | 69 6d 74 61 62 73 69 7a | \verbat|imtabsiz|
|00000530| 65 3d 38 0a 5c 64 65 66 | 5c 40 78 6f 62 65 79 74 |e=8.\def|\@xobeyt|
|00000540| 61 62 7b 5c 6c 65 61 76 | 65 76 6d 6f 64 65 5c 70 |ab{\leav|evmode\p|
|00000550| 65 6e 61 6c 74 79 5c 40 | 4d 0a 20 20 20 7b 5c 6c |enalty\@|M. {\l|
|00000560| 6f 6f 70 5c 20 5c 67 6c | 6f 62 61 6c 5c 61 64 76 |oop\ \gl|obal\adv|
|00000570| 61 6e 63 65 5c 74 61 62 | 40 70 6f 73 69 74 69 6f |ance\tab|@positio|
|00000580| 6e 2d 31 20 5c 69 66 6e | 75 6d 5c 74 61 62 40 70 |n-1 \ifn|um\tab@p|
|00000590| 6f 73 69 74 69 6f 6e 3e | 30 20 5c 72 65 70 65 61 |osition>|0 \repea|
|000005a0| 74 7d 7d 0a 5c 62 65 67 | 69 6e 67 72 6f 75 70 0a |t}}.\beg|ingroup.|
|000005b0| 20 20 5c 63 61 74 63 6f | 64 65 60 5c 5e 5e 49 3d | \catco|de`\^^I=|
|000005c0| 5c 61 63 74 69 76 65 0a | 20 20 5c 67 64 65 66 5c |\active.| \gdef\|
|000005d0| 40 76 6f 62 65 79 74 61 | 62 73 7b 5c 63 61 74 63 |@vobeyta|bs{\catc|
|000005e0| 6f 64 65 60 5c 5e 5e 49 | 5c 61 63 74 69 76 65 5c |ode`\^^I|\active\|
|000005f0| 6c 65 74 5e 5e 49 5c 40 | 78 6f 62 65 79 74 61 62 |let^^I\@|xobeytab|
|00000600| 7d 25 0a 5c 65 6e 64 67 | 72 6f 75 70 0a 5c 64 65 |}%.\endg|roup.\de|
|00000610| 66 5c 76 65 72 62 61 74 | 69 6d 40 74 61 62 65 78 |f\verbat|im@tabex|
|00000620| 70 61 6e 64 23 31 7b 25 | 0a 20 20 5c 69 66 78 23 |pand#1{%|. \ifx#|
|00000630| 31 5c 40 6e 69 6c 20 5c | 6c 65 74 5c 6e 65 78 74 |1\@nil \|let\next|
|00000640| 5c 70 61 72 20 5c 65 6c | 73 65 0a 20 20 20 20 5c |\par \el|se. \|
|00000650| 69 66 78 23 31 5c 40 78 | 6f 62 65 79 73 70 20 5c |ifx#1\@x|obeysp \|
|00000660| 40 78 6f 62 65 79 73 70 | 5c 61 64 76 61 6e 63 65 |@xobeysp|\advance|
|00000670| 5c 74 61 62 40 70 6f 73 | 69 74 69 6f 6e 2d 31 20 |\tab@pos|ition-1 |
|00000680| 5c 65 6c 73 65 0a 20 20 | 20 20 5c 69 66 78 23 31 |\else. | \ifx#1|
|00000690| 5c 40 78 6f 62 65 79 74 | 61 62 20 5c 40 78 6f 62 |\@xobeyt|ab \@xob|
|000006a0| 65 79 74 61 62 5c 65 6c | 73 65 0a 20 20 20 20 20 |eytab\el|se. |
|000006b0| 20 20 23 31 5c 61 64 76 | 61 6e 63 65 5c 74 61 62 | #1\adv|ance\tab|
|000006c0| 40 70 6f 73 69 74 69 6f | 6e 2d 31 0a 20 20 20 20 |@positio|n-1. |
|000006d0| 5c 66 69 5c 66 69 0a 20 | 20 20 20 5c 69 66 6e 75 |\fi\fi. | \ifnu|
|000006e0| 6d 5c 74 61 62 40 70 6f | 73 69 74 69 6f 6e 3d 30 |m\tab@po|sition=0|
|000006f0| 20 5c 74 61 62 40 70 6f | 73 69 74 69 6f 6e 5c 74 | \tab@po|sition\t|
|00000700| 61 62 40 73 69 7a 65 20 | 5c 66 69 0a 20 20 20 20 |ab@size |\fi. |
|00000710| 5c 6c 65 74 5c 6e 65 78 | 74 5c 76 65 72 62 61 74 |\let\nex|t\verbat|
|00000720| 69 6d 40 74 61 62 65 78 | 70 61 6e 64 0a 20 20 5c |im@tabex|pand. \|
|00000730| 66 69 5c 6e 65 78 74 0a | 7d 0a 0a 25 25 25 20 6c |fi\next.|}..%%% l|
|00000740| 69 73 74 69 6e 67 20 64 | 65 66 69 6e 65 73 20 61 |isting d|efines a|
|00000750| 20 76 65 72 62 61 74 69 | 6d 20 65 6e 76 69 72 6f | verbati|m enviro|
|00000760| 6e 6d 65 6e 74 20 77 69 | 74 68 20 6e 75 6d 62 65 |nment wi|th numbe|
|00000770| 72 65 64 20 6c 69 6e 65 | 73 3b 20 69 74 20 74 61 |red line|s; it ta|
|00000780| 6b 65 73 20 61 6e 0a 25 | 25 25 20 6f 70 74 69 6f |kes an.%|%% optio|
|00000790| 6e 61 6c 20 61 72 67 75 | 6d 65 6e 74 20 73 70 65 |nal argu|ment spe|
|000007a0| 63 69 66 79 69 6e 67 20 | 74 68 65 20 6e 75 6d 62 |cifying |the numb|
|000007b0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 62 65 74 77 |er of li|nes betw|
|000007c0| 65 65 6e 20 6e 75 6d 62 | 65 72 65 64 0a 25 25 25 |een numb|ered.%%%|
|000007d0| 20 6c 69 6e 65 73 2c 20 | 61 6e 64 20 61 20 6d 61 | lines, |and a ma|
|000007e0| 6e 64 61 74 6f 72 79 20 | 61 72 67 75 6d 65 6e 74 |ndatory |argument|
|000007f0| 20 73 70 65 63 69 66 79 | 69 6e 67 20 74 68 65 20 | specify|ing the |
|00000800| 73 74 61 72 74 69 6e 67 | 20 6c 69 6e 65 2e 20 6c |starting| line. l|
|00000810| 69 73 74 69 6e 67 63 6f | 6e 74 0a 25 25 25 20 63 |istingco|nt.%%% c|
|00000820| 6f 6e 74 69 6e 75 65 73 | 20 66 72 6f 6d 20 74 68 |ontinues| from th|
|00000830| 65 20 70 6c 61 63 65 20 | 77 68 65 72 65 20 6c 69 |e place |where li|
|00000840| 73 74 69 6e 67 20 6c 65 | 66 74 20 6f 66 66 2e 0a |sting le|ft off..|
|00000850| 25 25 25 20 54 68 65 20 | 73 74 79 6c 65 20 69 6e |%%% The |style in|
|00000860| 20 77 68 69 63 68 20 74 | 68 65 20 6c 61 62 65 6c | which t|he label|
|00000870| 20 69 73 20 73 65 74 20 | 63 61 6e 20 62 65 20 61 | is set |can be a|
|00000880| 6c 74 65 72 65 64 20 62 | 79 20 72 65 2d 64 65 66 |ltered b|y re-def|
|00000890| 69 6e 69 6e 67 0a 25 25 | 25 20 5c 6c 69 73 74 69 |ining.%%|% \listi|
|000008a0| 6e 67 6c 61 62 65 6c 2e | 20 2a 20 76 65 72 73 69 |nglabel.| * versi|
|000008b0| 6f 6e 73 20 61 72 65 20 | 70 72 6f 76 69 64 65 64 |ons are |provided|
|000008c0| 2e 0a 5c 6e 65 77 63 6f | 75 6e 74 5c 6c 69 73 74 |..\newco|unt\list|
|000008d0| 69 6e 67 40 6c 69 6e 65 | 20 5c 6c 69 73 74 69 6e |ing@line| \listin|
|000008e0| 67 40 6c 69 6e 65 3d 31 | 20 5c 6e 65 77 63 6f 75 |g@line=1| \newcou|
|000008f0| 6e 74 5c 6c 69 73 74 69 | 6e 67 40 73 74 65 70 20 |nt\listi|ng@step |
|00000900| 5c 6c 69 73 74 69 6e 67 | 40 73 74 65 70 3d 31 0a |\listing|@step=1.|
|00000910| 25 20 41 64 64 69 6e 67 | 20 61 6e 20 5c 68 62 6f |% Adding| an \hbo|
|00000920| 78 20 69 6e 20 66 72 6f | 6e 74 20 6f 66 20 74 68 |x in fro|nt of th|
|00000930| 65 20 6c 69 6e 65 20 63 | 61 75 73 65 73 20 61 20 |e line c|auses a |
|00000940| 6c 69 6e 65 20 62 72 65 | 61 6b 2c 20 73 6f 20 49 |line bre|ak, so I|
|00000950| 20 67 6f 0a 25 20 74 68 | 72 6f 75 67 68 20 74 68 | go.% th|rough th|
|00000960| 69 73 20 72 69 67 6d 61 | 72 6f 6c 65 20 74 6f 20 |is rigma|role to |
|00000970| 67 65 74 20 74 68 65 20 | 6c 69 6e 65 73 20 61 6c |get the |lines al|
|00000980| 69 67 6e 65 64 20 6e 69 | 63 65 6c 79 2e 20 49 20 |igned ni|cely. I |
|00000990| 70 72 6f 62 61 62 6c 79 | 0a 25 20 6d 69 73 73 65 |probably|.% misse|
|000009a0| 64 20 73 6f 6d 65 20 6f | 62 76 69 6f 75 73 20 72 |d some o|bvious r|
|000009b0| 65 61 73 6f 6e 20 77 68 | 79 20 5c 68 62 6f 78 65 |eason wh|y \hboxe|
|000009c0| 73 20 64 6f 6e 27 74 20 | 77 6f 72 6b 2e 0a 5c 64 |s don't |work..\d|
|000009d0| 65 66 5c 6c 69 73 74 69 | 6e 67 6c 61 62 65 6c 23 |ef\listi|nglabel#|
|000009e0| 31 7b 5c 72 6c 61 70 7b | 5c 73 6d 61 6c 6c 5c 72 |1{\rlap{|\small\r|
|000009f0| 6d 5c 74 68 65 23 31 7d | 5c 68 73 6b 69 70 32 2e |m\the#1}|\hskip2.|
|00000a00| 35 65 6d 7d 0a 5c 64 65 | 66 5c 74 68 65 6c 69 73 |5em}.\de|f\thelis|
|00000a10| 74 69 6e 67 40 6c 69 6e | 65 7b 25 0a 20 20 5c 73 |ting@lin|e{%. \s|
|00000a20| 65 74 62 6f 78 30 5c 68 | 62 6f 78 7b 5c 6c 69 73 |etbox0\h|box{\lis|
|00000a30| 74 69 6e 67 6c 61 62 65 | 6c 5c 6c 69 73 74 69 6e |tinglabe|l\listin|
|00000a40| 67 40 6c 69 6e 65 7d 25 | 0a 20 20 5c 40 74 65 6d |g@line}%|. \@tem|
|00000a50| 70 63 6e 74 61 3d 5c 6c | 69 73 74 69 6e 67 40 6c |pcnta=\l|isting@l|
|00000a60| 69 6e 65 0a 20 20 5c 64 | 69 76 69 64 65 5c 40 74 |ine. \d|ivide\@t|
|00000a70| 65 6d 70 63 6e 74 61 5c | 6c 69 73 74 69 6e 67 40 |empcnta\|listing@|
|00000a80| 73 74 65 70 20 5c 6d 75 | 6c 74 69 70 6c 79 5c 40 |step \mu|ltiply\@|
|00000a90| 74 65 6d 70 63 6e 74 61 | 5c 6c 69 73 74 69 6e 67 |tempcnta|\listing|
|00000aa0| 40 73 74 65 70 0a 20 20 | 5c 69 66 6e 75 6d 5c 6c |@step. |\ifnum\l|
|00000ab0| 69 73 74 69 6e 67 40 6c | 69 6e 65 3d 31 20 5c 75 |isting@l|ine=1 \u|
|00000ac0| 6e 68 62 6f 78 30 0a 20 | 20 5c 65 6c 73 65 20 5c |nhbox0. | \else \|
|00000ad0| 69 66 6e 75 6d 5c 40 74 | 65 6d 70 63 6e 74 61 3d |ifnum\@t|empcnta=|
|00000ae0| 5c 6c 69 73 74 69 6e 67 | 40 6c 69 6e 65 20 5c 75 |\listing|@line \u|
|00000af0| 6e 68 62 6f 78 30 0a 20 | 20 5c 65 6c 73 65 20 5c |nhbox0. | \else \|
|00000b00| 68 73 6b 69 70 5c 77 64 | 30 0a 20 20 5c 66 69 5c |hskip\wd|0. \fi\|
|00000b10| 66 69 7d 0a 5c 64 65 66 | 5c 6c 69 73 74 69 6e 67 |fi}.\def|\listing|
|00000b20| 7b 5c 40 69 66 6e 65 78 | 74 63 68 61 72 5b 7b 5c |{\@ifnex|tchar[{\|
|00000b30| 40 6c 69 73 74 69 6e 67 | 7d 7b 5c 40 6c 69 73 74 |@listing|}{\@list|
|00000b40| 69 6e 67 5b 31 5d 7d 7d | 0a 5c 64 65 66 5c 40 6c |ing[1]}}|.\def\@l|
|00000b50| 69 73 74 69 6e 67 5b 23 | 31 5d 23 32 7b 25 0a 20 |isting[#|1]#2{%. |
|00000b60| 20 5c 67 6c 6f 62 61 6c | 5c 6c 69 73 74 69 6e 67 | \global|\listing|
|00000b70| 40 6c 69 6e 65 3d 23 32 | 5c 67 6c 6f 62 61 6c 5c |@line=#2|\global\|
|00000b80| 6c 69 73 74 69 6e 67 40 | 73 74 65 70 3d 23 31 5c |listing@|step=#1\|
|00000b90| 6c 69 73 74 69 6e 67 63 | 6f 6e 74 7d 0a 5c 64 65 |listingc|ont}.\de|
|00000ba0| 66 5c 6c 69 73 74 69 6e | 67 63 6f 6e 74 7b 25 0a |f\listin|gcont{%.|
|00000bb0| 20 20 5c 74 61 62 40 73 | 69 7a 65 3d 5c 76 65 72 | \tab@s|ize=\ver|
|00000bc0| 62 61 74 69 6d 74 61 62 | 73 69 7a 65 0a 20 20 5c |batimtab|size. \|
|00000bd0| 64 65 66 5c 76 65 72 62 | 61 74 69 6d 40 70 72 6f |def\verb|atim@pro|
|00000be0| 63 65 73 73 6c 69 6e 65 | 7b 5c 74 61 62 40 70 6f |cessline|{\tab@po|
|00000bf0| 73 69 74 69 6f 6e 5c 74 | 61 62 40 73 69 7a 65 0a |sition\t|ab@size.|
|00000c00| 20 20 20 20 5c 74 68 65 | 6c 69 73 74 69 6e 67 40 | \the|listing@|
|00000c10| 6c 69 6e 65 20 5c 67 6c | 6f 62 61 6c 5c 61 64 76 |line \gl|obal\adv|
|00000c20| 61 6e 63 65 5c 6c 69 73 | 74 69 6e 67 40 6c 69 6e |ance\lis|ting@lin|
|00000c30| 65 31 0a 20 20 20 20 5c | 65 78 70 61 6e 64 61 66 |e1. \|expandaf|
|00000c40| 74 65 72 5c 76 65 72 62 | 61 74 69 6d 40 74 61 62 |ter\verb|atim@tab|
|00000c50| 65 78 70 61 6e 64 5c 74 | 68 65 5c 76 65 72 62 61 |expand\t|he\verba|
|00000c60| 74 69 6d 40 6c 69 6e 65 | 5c 40 6e 69 6c 7d 25 0a |tim@line|\@nil}%.|
|00000c70| 20 20 5c 40 76 65 72 62 | 61 74 69 6d 5c 66 72 65 | \@verb|atim\fre|
|00000c80| 6e 63 68 73 70 61 63 69 | 6e 67 5c 40 76 6f 62 65 |nchspaci|ng\@vobe|
|00000c90| 79 73 70 61 63 65 73 5c | 40 76 6f 62 65 79 74 61 |yspaces\|@vobeyta|
|00000ca0| 62 73 5c 76 65 72 62 61 | 74 69 6d 40 73 74 61 72 |bs\verba|tim@star|
|00000cb0| 74 7d 0a 5c 6c 65 74 5c | 65 6e 64 6c 69 73 74 69 |t}.\let\|endlisti|
|00000cc0| 6e 67 3d 5c 65 6e 64 74 | 72 69 76 6c 69 73 74 0a |ng=\endt|rivlist.|
|00000cd0| 5c 6c 65 74 5c 65 6e 64 | 6c 69 73 74 69 6e 67 63 |\let\end|listingc|
|00000ce0| 6f 6e 74 3d 5c 65 6e 64 | 74 72 69 76 6c 69 73 74 |ont=\end|trivlist|
|00000cf0| 0a 5c 40 6e 61 6d 65 64 | 65 66 7b 6c 69 73 74 69 |.\@named|ef{listi|
|00000d00| 6e 67 2a 7d 7b 5c 40 69 | 66 6e 65 78 74 63 68 61 |ng*}{\@i|fnextcha|
|00000d10| 72 5b 7b 5c 40 6c 69 73 | 74 69 6e 67 73 74 61 72 |r[{\@lis|tingstar|
|00000d20| 7d 7b 5c 40 6c 69 73 74 | 69 6e 67 73 74 61 72 5b |}{\@list|ingstar[|
|00000d30| 31 5d 7d 7d 0a 5c 64 65 | 66 5c 40 6c 69 73 74 69 |1]}}.\de|f\@listi|
|00000d40| 6e 67 73 74 61 72 5b 23 | 31 5d 23 32 7b 25 0a 20 |ngstar[#|1]#2{%. |
|00000d50| 20 5c 67 6c 6f 62 61 6c | 5c 6c 69 73 74 69 6e 67 | \global|\listing|
|00000d60| 40 6c 69 6e 65 3d 23 32 | 5c 67 6c 6f 62 61 6c 5c |@line=#2|\global\|
|00000d70| 6c 69 73 74 69 6e 67 40 | 73 74 65 70 3d 23 31 5c |listing@|step=#1\|
|00000d80| 72 65 6c 61 78 0a 20 20 | 5c 63 73 6e 61 6d 65 20 |relax. |\csname |
|00000d90| 6c 69 73 74 69 6e 67 63 | 6f 6e 74 2a 5c 65 6e 64 |listingc|ont*\end|
|00000da0| 63 73 6e 61 6d 65 7d 0a | 5c 40 6e 61 6d 65 64 65 |csname}.|\@namede|
|00000db0| 66 7b 6c 69 73 74 69 6e | 67 63 6f 6e 74 2a 7d 7b |f{listin|gcont*}{|
|00000dc0| 25 0a 20 20 5c 64 65 66 | 5c 76 65 72 62 61 74 69 |%. \def|\verbati|
|00000dd0| 6d 40 70 72 6f 63 65 73 | 73 6c 69 6e 65 7b 25 0a |m@proces|sline{%.|
|00000de0| 20 20 20 20 5c 74 68 65 | 6c 69 73 74 69 6e 67 40 | \the|listing@|
|00000df0| 6c 69 6e 65 20 5c 67 6c | 6f 62 61 6c 5c 61 64 76 |line \gl|obal\adv|
|00000e00| 61 6e 63 65 5c 6c 69 73 | 74 69 6e 67 40 6c 69 6e |ance\lis|ting@lin|
|00000e10| 65 31 0a 20 20 20 20 5c | 74 68 65 5c 76 65 72 62 |e1. \|the\verb|
|00000e20| 61 74 69 6d 40 6c 69 6e | 65 5c 70 61 72 7d 25 0a |atim@lin|e\par}%.|
|00000e30| 20 20 5c 40 76 65 72 62 | 61 74 69 6d 5c 76 65 72 | \@verb|atim\ver|
|00000e40| 62 61 74 69 6d 40 73 74 | 61 72 74 7d 0a 5c 65 78 |batim@st|art}.\ex|
|00000e50| 70 61 6e 64 61 66 74 65 | 72 5c 6c 65 74 5c 63 73 |pandafte|r\let\cs|
|00000e60| 6e 61 6d 65 20 65 6e 64 | 6c 69 73 74 69 6e 67 2a |name end|listing*|
|00000e70| 5c 65 6e 64 63 73 6e 61 | 6d 65 20 3d 5c 65 6e 64 |\endcsna|me =\end|
|00000e80| 74 72 69 76 6c 69 73 74 | 0a 5c 65 78 70 61 6e 64 |trivlist|.\expand|
|00000e90| 61 66 74 65 72 5c 6c 65 | 74 5c 63 73 6e 61 6d 65 |after\le|t\csname|
|00000ea0| 20 65 6e 64 6c 69 73 74 | 69 6e 67 63 6f 6e 74 2a | endlist|ingcont*|
|00000eb0| 5c 65 6e 64 63 73 6e 61 | 6d 65 20 3d 5c 65 6e 64 |\endcsna|me =\end|
|00000ec0| 74 72 69 76 6c 69 73 74 | 0a 0a 25 25 25 20 66 69 |trivlist|..%%% fi|
|00000ed0| 6c 65 20 69 6e 70 75 74 | 20 76 65 72 73 69 6f 6e |le input| version|
|00000ee0| 20 6f 66 20 6c 69 73 74 | 69 6e 67 0a 5c 64 65 66 | of list|ing.\def|
|00000ef0| 5c 6c 69 73 74 69 6e 67 | 69 6e 70 75 74 7b 25 0a |\listing|input{%.|
|00000f00| 20 20 20 5c 40 69 66 6e | 65 78 74 63 68 61 72 5b | \@ifn|extchar[|
|00000f10| 7b 5c 40 6c 69 73 74 69 | 6e 67 69 6e 70 75 74 7d |{\@listi|nginput}|
|00000f20| 7b 5c 40 6c 69 73 74 69 | 6e 67 69 6e 70 75 74 5b |{\@listi|nginput[|
|00000f30| 31 5d 7d 7d 0a 7b 5c 63 | 61 74 63 6f 64 65 60 5c |1]}}.{\c|atcode`\|
|00000f40| 7e 3d 5c 61 63 74 69 76 | 65 20 5c 6c 63 63 6f 64 |~=\activ|e \lccod|
|00000f50| 65 60 5c 7e 3d 60 5c 5e | 5e 4d 20 5c 6c 63 63 6f |e`\~=`\^|^M \lcco|
|00000f60| 64 65 60 5c 4e 3d 60 5c | 4e 0a 20 5c 6c 6f 77 65 |de`\N=`\|N. \lowe|
|00000f70| 72 63 61 73 65 7b 25 0a | 20 20 5c 67 64 65 66 5c |rcase{%.| \gdef\|
|00000f80| 40 6c 69 73 74 69 6e 67 | 69 6e 70 75 74 5b 23 31 |@listing|input[#1|
|00000f90| 5d 23 32 23 33 7b 5c 62 | 65 67 69 6e 67 72 6f 75 |]#2#3{\b|egingrou|
|00000fa0| 70 0a 20 20 20 20 20 5c | 67 6c 6f 62 61 6c 5c 6c |p. \|global\l|
|00000fb0| 69 73 74 69 6e 67 40 6c | 69 6e 65 3d 23 32 5c 67 |isting@l|ine=#2\g|
|00000fc0| 6c 6f 62 61 6c 5c 6c 69 | 73 74 69 6e 67 40 73 74 |lobal\li|sting@st|
|00000fd0| 65 70 3d 23 31 0a 20 20 | 20 20 20 5c 74 61 62 40 |ep=#1. | \tab@|
|00000fe0| 73 69 7a 65 3d 5c 76 65 | 72 62 61 74 69 6d 74 61 |size=\ve|rbatimta|
|00000ff0| 62 73 69 7a 65 0a 20 20 | 20 20 20 5c 64 65 66 5c |bsize. | \def\|
|00001000| 76 65 72 62 61 74 69 6d | 40 70 72 6f 63 65 73 73 |verbatim|@process|
|00001010| 6c 69 6e 65 7b 5c 74 61 | 62 40 70 6f 73 69 74 69 |line{\ta|b@positi|
|00001020| 6f 6e 5c 74 61 62 40 73 | 69 7a 65 0a 20 20 20 20 |on\tab@s|ize. |
|00001030| 20 20 20 20 5c 74 68 65 | 6c 69 73 74 69 6e 67 40 | \the|listing@|
|00001040| 6c 69 6e 65 20 5c 67 6c | 6f 62 61 6c 5c 61 64 76 |line \gl|obal\adv|
|00001050| 61 6e 63 65 5c 6c 69 73 | 74 69 6e 67 40 6c 69 6e |ance\lis|ting@lin|
|00001060| 65 31 0a 20 20 20 20 20 | 20 20 20 5c 65 78 70 61 |e1. | \expa|
|00001070| 6e 64 61 66 74 65 72 5c | 76 65 72 62 61 74 69 6d |ndafter\|verbatim|
|00001080| 40 74 61 62 65 78 70 61 | 6e 64 5c 74 68 65 5c 76 |@tabexpa|nd\the\v|
|00001090| 65 72 62 61 74 69 6d 40 | 6c 69 6e 65 5c 40 6e 69 |erbatim@|line\@ni|
|000010a0| 6c 7d 25 0a 20 20 20 20 | 20 5c 40 76 65 72 62 61 |l}%. | \@verba|
|000010b0| 74 69 6d 5c 66 72 65 6e | 63 68 73 70 61 63 69 6e |tim\fren|chspacin|
|000010c0| 67 5c 40 76 6f 62 65 79 | 73 70 61 63 65 73 5c 40 |g\@vobey|spaces\@|
|000010d0| 76 6f 62 65 79 74 61 62 | 73 0a 20 20 20 20 20 5c |vobeytab|s. \|
|000010e0| 64 65 66 5c 76 65 72 62 | 61 74 69 6d 40 61 64 64 |def\verb|atim@add|
|000010f0| 74 6f 6c 69 6e 65 23 23 | 31 7e 7b 25 0a 20 20 20 |toline##|1~{%. |
|00001100| 20 20 20 20 20 5c 76 65 | 72 62 61 74 69 6d 40 6c | \ve|rbatim@l|
|00001110| 69 6e 65 5c 65 78 70 61 | 6e 64 61 66 74 65 72 7b |ine\expa|ndafter{|
|00001120| 5c 74 68 65 5c 76 65 72 | 62 61 74 69 6d 40 6c 69 |\the\ver|batim@li|
|00001130| 6e 65 23 23 31 7d 7d 25 | 0a 20 20 20 20 20 5c 6f |ne##1}}%|. \o|
|00001140| 70 65 6e 69 6e 5c 76 65 | 72 62 74 61 62 40 69 6e |penin\ve|rbtab@in|
|00001150| 3d 23 33 0a 20 20 20 20 | 20 5c 69 66 65 6f 66 5c |=#3. | \ifeof\|
|00001160| 76 65 72 62 74 61 62 40 | 69 6e 5c 74 79 70 65 6f |verbtab@|in\typeo|
|00001170| 75 74 7b 4e 6f 20 66 69 | 6c 65 20 23 33 2e 7d 5c |ut{No fi|le #3.}\|
|00001180| 65 6c 73 65 0a 20 20 20 | 20 20 20 20 5c 76 65 72 |else. | \ver|
|00001190| 62 74 61 62 40 6f 6b 74 | 72 75 65 0a 20 20 20 20 |btab@okt|rue. |
|000011a0| 20 20 20 5c 6c 6f 6f 70 | 0a 20 20 20 20 20 20 20 | \loop|. |
|000011b0| 20 20 20 5c 72 65 61 64 | 5c 76 65 72 62 74 61 62 | \read|\verbtab|
|000011c0| 40 69 6e 20 74 6f 20 5c | 76 65 72 62 74 61 62 40 |@in to \|verbtab@|
|000011d0| 6c 69 6e 65 0a 20 20 20 | 20 20 20 20 20 20 20 5c |line. | \|
|000011e0| 69 66 65 6f 66 5c 76 65 | 72 62 74 61 62 40 69 6e |ifeof\ve|rbtab@in|
|000011f0| 5c 76 65 72 62 74 61 62 | 40 6f 6b 66 61 6c 73 65 |\verbtab|@okfalse|
|00001200| 5c 65 6c 73 65 0a 20 20 | 20 20 20 20 20 20 20 20 |\else. | |
|00001210| 20 20 20 5c 65 78 70 61 | 6e 64 61 66 74 65 72 5c | \expa|ndafter\|
|00001220| 76 65 72 62 61 74 69 6d | 40 61 64 64 74 6f 6c 69 |verbatim|@addtoli|
|00001230| 6e 65 5c 76 65 72 62 74 | 61 62 40 6c 69 6e 65 0a |ne\verbt|ab@line.|
|00001240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 5c 76 65 | | \ve|
|00001250| 72 62 61 74 69 6d 40 70 | 72 6f 63 65 73 73 6c 69 |rbatim@p|rocessli|
|00001260| 6e 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ne. | |
|00001270| 5c 76 65 72 62 61 74 69 | 6d 40 73 74 61 72 74 6c |\verbati|m@startl|
|00001280| 69 6e 65 0a 20 20 20 20 | 20 20 20 20 20 20 5c 66 |ine. | \f|
|00001290| 69 0a 20 20 20 20 20 20 | 20 5c 69 66 76 65 72 62 |i. | \ifverb|
|000012a0| 74 61 62 40 6f 6b 5c 72 | 65 70 65 61 74 0a 20 20 |tab@ok\r|epeat. |
|000012b0| 20 20 20 20 20 5c 63 6c | 6f 73 65 69 6e 5c 76 65 | \cl|osein\ve|
|000012c0| 72 62 74 61 62 40 69 6e | 5c 66 69 0a 20 20 20 20 |rbtab@in|\fi. |
|000012d0| 20 5c 65 6e 64 74 72 69 | 76 6c 69 73 74 5c 65 6e | \endtri|vlist\en|
|000012e0| 64 67 72 6f 75 70 5c 40 | 64 6f 65 6e 64 70 65 7d |dgroup\@|doendpe}|
|000012f0| 7d 7d 0a 0a 25 25 25 20 | 76 65 72 62 61 74 69 6d |}}..%%% |verbatim|
|00001300| 63 6d 64 20 69 73 20 61 | 20 76 65 72 62 61 74 69 |cmd is a| verbati|
|00001310| 6d 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 77 69 |m enviro|nment wi|
|00001320| 74 68 20 74 68 65 20 65 | 78 63 65 70 74 69 6f 6e |th the e|xception|
|00001330| 20 6f 66 20 74 68 65 20 | 65 73 63 61 70 65 20 61 | of the |escape a|
|00001340| 6e 64 0a 25 25 25 20 67 | 72 6f 75 70 69 6e 67 20 |nd.%%% g|rouping |
|00001350| 63 68 61 72 61 63 74 65 | 72 73 20 5c 2c 20 7b 2c |characte|rs \, {,|
|00001360| 20 7d 2e 0a 5c 64 65 66 | 5c 76 65 72 62 61 74 69 | }..\def|\verbati|
|00001370| 6d 63 6d 64 7b 25 0a 20 | 20 5c 40 76 65 72 62 61 |mcmd{%. | \@verba|
|00001380| 74 69 6d 20 5c 63 61 74 | 63 6f 64 65 60 5c 5c 3d |tim \cat|code`\\=|
|00001390| 30 20 5c 63 61 74 63 6f | 64 65 60 5c 7b 3d 31 20 |0 \catco|de`\{=1 |
|000013a0| 5c 63 61 74 63 6f 64 65 | 60 5c 7d 3d 32 0a 20 20 |\catcode|`\}=2. |
|000013b0| 5c 66 72 65 6e 63 68 73 | 70 61 63 69 6e 67 5c 40 |\frenchs|pacing\@|
|000013c0| 76 6f 62 65 79 73 70 61 | 63 65 73 5c 76 65 72 62 |vobeyspa|ces\verb|
|000013d0| 61 74 69 6d 40 73 74 61 | 72 74 0a 7d 0a 5c 64 65 |atim@sta|rt.}.\de|
|000013e0| 66 5c 65 6e 64 76 65 72 | 62 61 74 69 6d 63 6d 64 |f\endver|batimcmd|
|000013f0| 7b 25 0a 20 20 5c 6c 65 | 74 5c 70 61 72 5c 72 65 |{%. \le|t\par\re|
|00001400| 6c 61 78 0a 20 20 5c 64 | 65 66 5c 76 65 72 62 61 |lax. \d|ef\verba|
|00001410| 74 69 6d 40 7b 5c 65 6e | 64 74 72 69 76 6c 69 73 |tim@{\en|dtrivlis|
|00001420| 74 5c 65 6e 64 67 72 6f | 75 70 7d 25 0a 20 20 5c |t\endgro|up}%. \|
|00001430| 62 65 67 69 6e 67 72 6f | 75 70 7d 0a 0a 25 25 25 |begingro|up}..%%%|
|00001440| 20 62 6f 78 65 64 76 65 | 72 62 61 74 69 6d 20 70 | boxedve|rbatim p|
|00001450| 72 6f 64 75 63 65 73 20 | 61 20 76 65 72 62 61 74 |roduces |a verbat|
|00001460| 69 6d 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 69 |im envir|onment i|
|00001470| 6e 20 61 20 66 72 61 6d | 65 64 20 62 6f 78 2e 0a |n a fram|ed box..|
|00001480| 25 25 25 20 77 72 69 74 | 74 65 6e 20 62 79 20 56 |%%% writ|ten by V|
|00001490| 69 63 74 6f 72 20 45 69 | 6a 6b 68 6f 75 74 0a 5c |ictor Ei|jkhout.\|
|000014a0| 64 65 66 5c 62 6f 78 65 | 64 76 65 72 62 61 74 69 |def\boxe|dverbati|
|000014b0| 6d 7b 25 0a 20 20 25 20 | 72 65 64 65 66 69 6e 65 |m{%. % |redefine|
|000014c0| 20 60 70 72 6f 63 65 73 | 73 6c 69 6e 65 27 20 74 | `proces|sline' t|
|000014d0| 6f 20 70 72 6f 64 75 63 | 65 20 6f 6e 6c 79 20 61 |o produc|e only a|
|000014e0| 20 6c 69 6e 65 20 61 73 | 20 77 69 64 65 0a 20 20 | line as| wide. |
|000014f0| 25 20 61 73 20 74 68 65 | 20 6e 61 74 75 72 61 6c |% as the| natural|
|00001500| 20 77 69 64 74 68 20 6f | 66 20 74 68 65 20 6c 69 | width o|f the li|
|00001510| 6e 65 0a 20 20 5c 64 65 | 66 5c 76 65 72 62 61 74 |ne. \de|f\verbat|
|00001520| 69 6d 40 70 72 6f 63 65 | 73 73 6c 69 6e 65 7b 25 |im@proce|ssline{%|
|00001530| 0a 20 20 20 20 7b 5c 73 | 65 74 62 6f 78 30 3d 5c |. {\s|etbox0=\|
|00001540| 68 62 6f 78 7b 5c 74 68 | 65 5c 76 65 72 62 61 74 |hbox{\th|e\verbat|
|00001550| 69 6d 40 6c 69 6e 65 7d | 25 0a 20 20 20 20 5c 68 |im@line}|%. \h|
|00001560| 73 69 7a 65 3d 5c 77 64 | 30 20 5c 74 68 65 5c 76 |size=\wd|0 \the\v|
|00001570| 65 72 62 61 74 69 6d 40 | 6c 69 6e 65 5c 70 61 72 |erbatim@|line\par|
|00001580| 7d 7d 25 0a 20 20 25 20 | 73 61 76 65 20 74 68 65 |}}%. % |save the|
|00001590| 20 76 65 72 62 61 74 69 | 6d 20 63 6f 64 65 20 69 | verbati|m code i|
|000015a0| 6e 20 61 20 62 6f 78 0a | 20 20 5c 73 65 74 62 6f |n a box.| \setbo|
|000015b0| 78 30 3d 5c 76 62 6f 78 | 5c 62 67 72 6f 75 70 20 |x0=\vbox|\bgroup |
|000015c0| 5c 76 65 72 62 61 74 69 | 6d 0a 7d 0a 5c 64 65 66 |\verbati|m.}.\def|
|000015d0| 5c 65 6e 64 62 6f 78 65 | 64 76 65 72 62 61 74 69 |\endboxe|dverbati|
|000015e0| 6d 7b 25 0a 20 20 5c 65 | 6e 64 76 65 72 62 61 74 |m{%. \e|ndverbat|
|000015f0| 69 6d 0a 20 20 5c 65 67 | 72 6f 75 70 20 25 20 63 |im. \eg|roup % c|
|00001600| 6c 6f 73 65 20 74 68 65 | 20 62 6f 78 20 61 6e 64 |lose the| box and|
|00001610| 20 60 66 62 6f 78 27 20 | 69 74 0a 20 20 5c 66 62 | `fbox' |it. \fb|
|00001620| 6f 78 7b 5c 62 6f 78 30 | 7d 25 20 3c 3c 3c 3d 3d |ox{\box0|}% <<<==|
|00001630| 3d 20 63 68 61 6e 67 65 | 20 68 65 72 65 20 66 6f |= change| here fo|
|00001640| 72 20 63 65 6e 74 65 72 | 69 6e 67 2c 2e 2e 2e 0a |r center|ing,....|
|00001650| 7d 0a 0a 25 25 25 20 76 | 65 72 62 61 74 69 6d 74 |}..%%% v|erbatimt|
|00001660| 61 62 20 69 73 20 61 20 | 76 65 72 62 61 74 69 6d |ab is a |verbatim|
|00001670| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 77 68 69 | environ|ment whi|
|00001680| 63 68 20 65 78 70 61 6e | 64 73 20 74 61 62 20 63 |ch expan|ds tab c|
|00001690| 68 61 72 61 63 74 65 72 | 73 3b 20 69 74 0a 25 25 |haracter|s; it.%%|
|000016a0| 25 20 74 61 6b 65 73 20 | 61 6e 20 6f 70 74 69 6f |% takes |an optio|
|000016b0| 6e 61 6c 20 61 72 67 75 | 6d 65 6e 74 20 73 70 65 |nal argu|ment spe|
|000016c0| 63 69 66 79 69 6e 67 20 | 74 68 65 20 77 69 64 74 |cifying |the widt|
|000016d0| 68 20 6f 66 20 74 61 62 | 20 73 74 6f 70 73 0a 5c |h of tab| stops.\|
|000016e0| 64 65 66 5c 76 65 72 62 | 61 74 69 6d 74 61 62 7b |def\verb|atimtab{|
|000016f0| 5c 66 75 74 75 72 65 6c | 65 74 5c 6e 65 78 74 5c |\futurel|et\next\|
|00001700| 40 76 65 72 62 61 74 69 | 6d 74 61 62 7d 0a 5c 64 |@verbati|mtab}.\d|
|00001710| 65 66 5c 40 76 65 72 62 | 61 74 69 6d 74 61 62 7b |ef\@verb|atimtab{|
|00001720| 5c 69 66 5c 6e 65 78 74 | 5b 20 5c 6c 65 74 5c 6e |\if\next|[ \let\n|
|00001730| 65 78 74 5c 40 40 76 65 | 72 62 61 74 69 6d 74 61 |ext\@@ve|rbatimta|
|00001740| 62 5c 65 6c 73 65 0a 20 | 20 20 20 20 20 20 20 20 |b\else. | |
|00001750| 20 20 20 20 20 20 20 20 | 20 20 20 20 5c 64 65 66 | | \def|
|00001760| 5c 6e 65 78 74 7b 5c 40 | 40 76 65 72 62 61 74 69 |\next{\@|@verbati|
|00001770| 6d 74 61 62 5b 5c 74 68 | 65 5c 76 65 72 62 61 74 |mtab[\th|e\verbat|
|00001780| 69 6d 74 61 62 73 69 7a | 65 5d 7d 5c 66 69 5c 6e |imtabsiz|e]}\fi\n|
|00001790| 65 78 74 7d 0a 5c 64 65 | 66 5c 40 40 76 65 72 62 |ext}.\de|f\@@verb|
|000017a0| 61 74 69 6d 74 61 62 5b | 23 31 5d 7b 25 0a 20 20 |atimtab[|#1]{%. |
|000017b0| 5c 64 6f 40 76 65 72 62 | 61 74 69 6d 74 61 62 7b |\do@verb|atimtab{|
|000017c0| 23 31 7d 7b 25 0a 20 20 | 20 20 20 5c 40 76 65 72 |#1}{%. | \@ver|
|000017d0| 62 61 74 69 6d 5c 66 72 | 65 6e 63 68 73 70 61 63 |batim\fr|enchspac|
|000017e0| 69 6e 67 5c 40 76 6f 62 | 65 79 73 70 61 63 65 73 |ing\@vob|eyspaces|
|000017f0| 5c 40 76 6f 62 65 79 74 | 61 62 73 5c 76 65 72 62 |\@vobeyt|abs\verb|
|00001800| 61 74 69 6d 40 73 74 61 | 72 74 7d 25 0a 7d 0a 5c |atim@sta|rt}%.}.\|
|00001810| 64 65 66 5c 64 6f 40 76 | 65 72 62 61 74 69 6d 74 |def\do@v|erbatimt|
|00001820| 61 62 23 31 23 32 7b 25 | 0a 20 20 5c 74 61 62 40 |ab#1#2{%|. \tab@|
|00001830| 73 69 7a 65 3d 23 31 0a | 20 20 5c 64 65 66 5c 76 |size=#1.| \def\v|
|00001840| 65 72 62 61 74 69 6d 40 | 70 72 6f 63 65 73 73 6c |erbatim@|processl|
|00001850| 69 6e 65 7b 5c 74 61 62 | 40 70 6f 73 69 74 69 6f |ine{\tab|@positio|
|00001860| 6e 5c 74 61 62 40 73 69 | 7a 65 0a 20 20 20 20 20 |n\tab@si|ze. |
|00001870| 5c 65 78 70 61 6e 64 61 | 66 74 65 72 5c 76 65 72 |\expanda|fter\ver|
|00001880| 62 61 74 69 6d 40 74 61 | 62 65 78 70 61 6e 64 5c |batim@ta|bexpand\|
|00001890| 74 68 65 5c 76 65 72 62 | 61 74 69 6d 40 6c 69 6e |the\verb|atim@lin|
|000018a0| 65 5c 40 6e 69 6c 7d 23 | 32 0a 7d 0a 5c 6c 65 74 |e\@nil}#|2.}.\let|
|000018b0| 5c 65 6e 64 76 65 72 62 | 61 74 69 6d 74 61 62 3d |\endverb|atimtab=|
|000018c0| 5c 65 6e 64 74 72 69 76 | 6c 69 73 74 0a 0a 25 25 |\endtriv|list..%%|
|000018d0| 25 20 66 69 6c 65 20 69 | 6e 70 75 74 20 76 65 72 |% file i|nput ver|
|000018e0| 73 69 6f 6e 20 6f 66 20 | 76 65 72 62 61 74 69 6d |sion of |verbatim|
|000018f0| 74 61 62 0a 5c 6e 65 77 | 72 65 61 64 5c 76 65 72 |tab.\new|read\ver|
|00001900| 62 74 61 62 40 69 6e 20 | 5c 6e 65 77 69 66 5c 69 |btab@in |\newif\i|
|00001910| 66 76 65 72 62 74 61 62 | 40 6f 6b 0a 5c 64 65 66 |fverbtab|@ok.\def|
|00001920| 5c 76 65 72 62 61 74 69 | 6d 74 61 62 69 6e 70 75 |\verbati|mtabinpu|
|00001930| 74 7b 25 0a 20 20 20 5c | 40 69 66 6e 65 78 74 63 |t{%. \|@ifnextc|
|00001940| 68 61 72 5b 7b 5c 40 76 | 65 72 62 61 74 69 6d 74 |har[{\@v|erbatimt|
|00001950| 61 62 69 6e 70 75 74 7d | 7b 5c 40 76 65 72 62 61 |abinput}|{\@verba|
|00001960| 74 69 6d 74 61 62 69 6e | 70 75 74 5b 5c 74 68 65 |timtabin|put[\the|
|00001970| 5c 76 65 72 62 61 74 69 | 6d 74 61 62 73 69 7a 65 |\verbati|mtabsize|
|00001980| 5d 7d 7d 0a 7b 5c 63 61 | 74 63 6f 64 65 60 5c 7e |]}}.{\ca|tcode`\~|
|00001990| 3d 5c 61 63 74 69 76 65 | 20 5c 6c 63 63 6f 64 65 |=\active| \lccode|
|000019a0| 60 5c 7e 3d 60 5c 5e 5e | 4d 20 5c 6c 63 63 6f 64 |`\~=`\^^|M \lccod|
|000019b0| 65 60 5c 4e 3d 60 5c 4e | 0a 20 5c 6c 6f 77 65 72 |e`\N=`\N|. \lower|
|000019c0| 63 61 73 65 7b 25 0a 20 | 20 5c 67 64 65 66 5c 40 |case{%. | \gdef\@|
|000019d0| 76 65 72 62 61 74 69 6d | 74 61 62 69 6e 70 75 74 |verbatim|tabinput|
|000019e0| 5b 23 31 5d 23 32 7b 5c | 62 65 67 69 6e 67 72 6f |[#1]#2{\|begingro|
|000019f0| 75 70 0a 20 20 20 20 20 | 5c 64 6f 40 76 65 72 62 |up. |\do@verb|
|00001a00| 61 74 69 6d 74 61 62 7b | 23 31 7d 7b 25 0a 20 20 |atimtab{|#1}{%. |
|00001a10| 20 20 20 20 20 5c 40 76 | 65 72 62 61 74 69 6d 5c | \@v|erbatim\|
|00001a20| 66 72 65 6e 63 68 73 70 | 61 63 69 6e 67 5c 40 76 |frenchsp|acing\@v|
|00001a30| 6f 62 65 79 73 70 61 63 | 65 73 5c 40 76 6f 62 65 |obeyspac|es\@vobe|
|00001a40| 79 74 61 62 73 7d 25 0a | 20 20 20 20 20 5c 64 65 |ytabs}%.| \de|
|00001a50| 66 5c 76 65 72 62 61 74 | 69 6d 40 61 64 64 74 6f |f\verbat|im@addto|
|00001a60| 6c 69 6e 65 23 23 31 7e | 7b 25 0a 20 20 20 20 20 |line##1~|{%. |
|00001a70| 20 20 20 5c 76 65 72 62 | 61 74 69 6d 40 6c 69 6e | \verb|atim@lin|
|00001a80| 65 5c 65 78 70 61 6e 64 | 61 66 74 65 72 7b 5c 74 |e\expand|after{\t|
|00001a90| 68 65 5c 76 65 72 62 61 | 74 69 6d 40 6c 69 6e 65 |he\verba|tim@line|
|00001aa0| 23 23 31 7d 7d 25 0a 20 | 20 20 20 20 5c 6f 70 65 |##1}}%. | \ope|
|00001ab0| 6e 69 6e 5c 76 65 72 62 | 74 61 62 40 69 6e 3d 23 |nin\verb|tab@in=#|
|00001ac0| 32 0a 20 20 20 20 20 5c | 69 66 65 6f 66 5c 76 65 |2. \|ifeof\ve|
|00001ad0| 72 62 74 61 62 40 69 6e | 5c 74 79 70 65 6f 75 74 |rbtab@in|\typeout|
|00001ae0| 7b 4e 6f 20 66 69 6c 65 | 20 23 32 2e 7d 5c 65 6c |{No file| #2.}\el|
|00001af0| 73 65 0a 20 20 20 20 20 | 20 20 5c 76 65 72 62 74 |se. | \verbt|
|00001b00| 61 62 40 6f 6b 74 72 75 | 65 0a 20 20 20 20 20 20 |ab@oktru|e. |
|00001b10| 20 5c 6c 6f 6f 70 0a 20 | 20 20 20 20 20 20 20 20 | \loop. | |
|00001b20| 20 5c 72 65 61 64 5c 76 | 65 72 62 74 61 62 40 69 | \read\v|erbtab@i|
|00001b30| 6e 20 74 6f 20 5c 76 65 | 72 62 74 61 62 40 6c 69 |n to \ve|rbtab@li|
|00001b40| 6e 65 0a 20 20 20 20 20 | 20 20 20 20 20 5c 69 66 |ne. | \if|
|00001b50| 65 6f 66 5c 76 65 72 62 | 74 61 62 40 69 6e 5c 76 |eof\verb|tab@in\v|
|00001b60| 65 72 62 74 61 62 40 6f | 6b 66 61 6c 73 65 5c 65 |erbtab@o|kfalse\e|
|00001b70| 6c 73 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |lse. | |
|00001b80| 20 5c 65 78 70 61 6e 64 | 61 66 74 65 72 5c 76 65 | \expand|after\ve|
|00001b90| 72 62 61 74 69 6d 40 61 | 64 64 74 6f 6c 69 6e 65 |rbatim@a|ddtoline|
|00001ba0| 5c 76 65 72 62 74 61 62 | 40 6c 69 6e 65 0a 20 20 |\verbtab|@line. |
|00001bb0| 20 20 20 20 20 20 20 20 | 20 20 20 5c 76 65 72 62 | | \verb|
|00001bc0| 61 74 69 6d 40 70 72 6f | 63 65 73 73 6c 69 6e 65 |atim@pro|cessline|
|00001bd0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 76 |. | \v|
|00001be0| 65 72 62 61 74 69 6d 40 | 73 74 61 72 74 6c 69 6e |erbatim@|startlin|
|00001bf0| 65 0a 20 20 20 20 20 20 | 20 20 20 20 5c 66 69 0a |e. | \fi.|
|00001c00| 20 20 20 20 20 20 20 5c | 69 66 76 65 72 62 74 61 | \|ifverbta|
|00001c10| 62 40 6f 6b 5c 72 65 70 | 65 61 74 0a 20 20 20 20 |b@ok\rep|eat. |
|00001c20| 20 20 20 5c 63 6c 6f 73 | 65 69 6e 5c 76 65 72 62 | \clos|ein\verb|
|00001c30| 74 61 62 40 69 6e 5c 66 | 69 0a 20 20 20 20 20 5c |tab@in\f|i. \|
|00001c40| 65 6e 64 74 72 69 76 6c | 69 73 74 5c 65 6e 64 67 |endtrivl|ist\endg|
|00001c50| 72 6f 75 70 5c 40 64 6f | 65 6e 64 70 65 7d 7d 7d |roup\@do|endpe}}}|
|00001c60| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+